package com.wyt.dao;


import com.wyt.entity.Tinstorage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TinstorageMapper {
    int deleteByPrimaryKey(Integer pid);

    int insert(Tinstorage record);

    int insertSelective(Tinstorage record);

    Tinstorage selectByPrimaryKey(Integer pid);

    int updateByPrimaryKeySelective(Tinstorage record);

    List<Tinstorage> findAllPassInStetus();

    int updateByPrimaryKey(Tinstorage record);

    List<Tinstorage> findstroage(@Param("pdate") String pdate, @Param("pname") String pname);

    List<Tinstorage> findstroage02(@Param("rdate") String rdate, @Param("pname") String pname);

    List<Tinstorage> findhistorystroage(@Param("rname")String rname ,@Param("rdate")String rdate, @Param("pname") String pname);

    List<Tinstorage> findAllInstroageUidPnameAndCount();

    //查询入库总金额
    Integer FindAllSumtotprice();
}